<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>新闻</title>
</head>
<body>
    <ul th:each="news : ${news}">
        <li th:text="${news.newsId}"></li>
        <li th:text="${news.newsTitle}"></li>
        <li th:text="${news.newsContent}"></li>
        <li th:text="${news.newsHtmlAddress}"></li>
        <li th:text="${#calendars.format(news.newsPublishTime,'yyyy-MM-dd HH:mm:ss')}"></li>
    </ul>
</body>
</html>